import { $t } from "@/plugins/i18n";
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/",
  name: "House",
  component: Layout,
  redirect: "/houselist",
  meta: {
    icon: "homeFilled",
    title: $t("menus.hshouse"),
    rank: 6
  },
  children: [
    {
      path: "/houselist",
      name: "Houselist",
      component: () => import("@/views/house/index.vue"),
      meta: {
        title: $t("menus.hshouselist")
      }
    },
    {
      path: "/housemanager",
      name: "Housemanager",
      component: () => import("@/views/house/manager.vue"),
      meta: {
        title: $t("menus.hshousemanager")
      }
    }
  ]
} as RouteConfigsTable;
